/** Created by CUIJA on 05-19-2017.*/


module.exports = function ($stateProvider) {
    $stateProvider
        .state({
            name: 'sameAsDe',
            url: '',
            template: require('../views/login.html'),
            controller: 'loginController'
        })
        .state({
            name: 'default',
            url: '/',
            template: require('../views/login.html'),
            controller: 'loginController'
        })
        .state('acm', {
            // name: 'acm',
            url: '/acm',
            template: require('../components/navbar/navbar.html')
        })
        .state('acm.home', {
            // name: 'home',
            url: '/home',
            template: require('../views/home.html'),
            controller: 'homeController'
        })
        .state({
            name: 'error',
            url: '/error',
            template: require('../views/error.html')
        });
};